﻿using System;

namespace Socium.Domain.Documents {
	[Serializable]
	public struct SociogramRelation {
		public SociogramRelation(Relation relation, Node @from, Node to) : this() {
			Relation = relation;
			From = @from;
			To = to;
		}

		public Relation Relation { get; private set; }
		public RelationGroup RelationGroup {
			get { return Relation.RelationGroup; }
		}

		public Node From { get; private set; }
		public Node To { get; private set; }
	}
}
